<template>
<div class="songhome">
        <van-tabs v-model="active" swipeable sticky tabs-card-height="50px">
          <van-tab title="推荐"><TuiJian/></van-tab>
          
        </van-tabs>
    </div>
</template>

<script>
import TuiJian from "./compents/tuijian.vue";

export default {
  data(){
    return{
      active: 1,
      tags:[]
    }
  },
  created(){
    this.getTabData();
  },
  methods: {
    getTabData:function(){
      this.$request('get','/playlist/hot').then((res)=>{
        console.log(res.tags);
        this.tags=res.tags
      })
    }
  },
  components:{
    TuiJian,
  
 }
}
</script>

<style scoped>
.tabs{
  height: 90%;
}
</style>